package com.zdp.distributedemo.mapper;

import com.zdp.distributedemo.model.Product;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;

public interface ProductMapper extends Mapper<Product> {
    void updateProductCount(@Param("purchaseProductNum") int purchaseProductNum,
                            @Param("updateTime") Date date,
                            @Param("id") Integer id);
}